package org.example.casemodule.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class LawyerSearchVO {
    /**
     *  "criteria": {
     *       "practiceAreas": ["LABOR_DISPUTE","CONTRACT"],
     *       "minRating": 4.5
     *     },
     *     "results": [
     *       {
     *         "lawyerId": 20001,
     *         "name": "张律师",
     *         "rating": 4.8,
     *         "successRate": 85.7,
     *         "responseTime": "平均8.5小时",
     *         "currentWorkload": 5,
     *         "specialties": ["劳动合同","工资纠纷"],
     *         "availability": "下周可接案"
     *       }
     *     ]
     */
    private LawyerSearchCriteria criteria;
    private List<LawyerSearchResult> results;


    @Data
    public static class LawyerSearchCriteria {
        private List<String> practiceAreas;
        private Double minRating;
    }
    @Data
    public static class LawyerSearchResult {
        private Long lawyerId;
        private String name;
        private BigDecimal rating;
        private BigDecimal successRate;
        private String responseTime;
        private Integer currentWorkload;
        private String specialties;
        private String availability;
    }
}
